package com.kalvan.commons.vo.system;

import io.swagger.annotations.ApiModelProperty;
import lombok.Getter;
import lombok.Setter;

import java.util.Date;

/**
 * 用户登录后返回数据
 *
 * @author chenliang
 */
@Getter
@Setter
public class UserVO {

    @ApiModelProperty(value = "用户id")
    private Long id;

    @ApiModelProperty(value = "登录账号")
    private String username;

    @ApiModelProperty(value = "用户姓名")
    private String nickName;

    @ApiModelProperty(value = "token")
    private String token;

    @ApiModelProperty(value = "token过期时间")
    private Date tokenExpire;

    @ApiModelProperty(value = "上一次登录时间")
    private Date lastLoginTime;

//    @ApiModelProperty(value = "0 普通账号 1 手机号 ")
//    private Integer accountType;

//    @ApiModelProperty(value = "用户手机号")
//    private String mobile;

//    @ApiModelProperty(value = "0 使用 1 删除 2 停用")
//    private Integer state;

//    @ApiModelProperty(value = "创建时间")
//    private Date createTime;
//
//    @ApiModelProperty(value = "修改时间")
//    private Date updateTime;
}
